package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.boot.autoconfigure.domain.EntityScan;

import java.io.Serializable;

@EntityScan("fh_upload_image")

@JsonFormat
public class fhUploadImage extends BaseEntity implements Serializable {

    private static final long serialVersionUID = -327841065974286229L;

    /**
     * 表主键   up_id
     */
    private String upId;

    /**
     * 上传人id(用户id)   user_id
     */
    private String userId;

    /**
     * 图片名称 image_name
     */
    private String imageName;

    /**
     * 图片存储地址   image_path
     */
    private String imagePath;

    /**
     * 图片缩略图存储地址   image_compress_path
     */
    private String imageCompressPath;

    /**
     * 上传时间   create_time
     */
    //@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String createTimes;

    /**
     * 上传ip   ip
     */
    private String ip;


    /**
     * 请求是否来自手机端   request_from
     */
    private Boolean requestFrom;

    /**
     * 图片备注   img_remarks
     */
    private String imgRemarks;

    public String getUpId() {
        return upId;
    }

    public void setUpId(String upId) {
        this.upId = upId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getImageName() {
        return imageName;
    }

    public void setImageName(String imageName) {
        this.imageName = imageName;
    }

    public String getImagePath() {
        return imagePath;
    }

    public void setImagePath(String imagePath) {
        this.imagePath = imagePath;
    }

    public String getImageCompressPath() {
        return imageCompressPath;
    }

    public void setImageCompressPath(String imageCompressPath) {
        this.imageCompressPath = imageCompressPath;
    }

    public String getCreateTimes() {
        return createTimes;
    }

    public void setCreateTimes(String createTimes) {
        this.createTimes = createTimes;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Boolean getRequestFrom() {
        return requestFrom;
    }

    public void setRequestFrom(Boolean requestFrom) {
        this.requestFrom = requestFrom;
    }

    public String getImgRemarks() {
        return imgRemarks;
    }

    public void setImgRemarks(String imgRemarks) {
        this.imgRemarks = imgRemarks;
    }
}
